package com.youdoneed.news.news.vo;

import java.util.List;

import com.google.gson.annotations.SerializedName;
import com.youdoneed.news.news.entity.CmfAuthors;

import io.swagger.annotations.ApiModelProperty;

public class CmfPostsDtlVo {
	
	@ApiModelProperty(value = "主键id")
    private Long id;
	
	@ApiModelProperty(value = "评论数")
    private Long commentCount;
	
	@ApiModelProperty(value = "点赞数")
    private Integer postLike;
	
	@ApiModelProperty(value = "新闻发表日期，前台显示")
    private Integer showDate;
	
	@ApiModelProperty(value = "栏目所需 html标签")
	private String htmltag;
	
	@ApiModelProperty(value = "栏目描述")
    private String info;
	
	@ApiModelProperty(value = "布局类型信息")
	private String tpl;
	
	@ApiModelProperty("原新闻链接")
	private String newsUrl;
	
	@ApiModelProperty(value = "栏目所需 header部分")
    private String header;
	
	@ApiModelProperty(value = "文章详情的body标签")
	private String bodytag;
	
	@ApiModelProperty(value = "文章内容，图片新闻的话传 json, 成员：img_news[{'img':'xx','content':'xx'}]")
    private String postContent;
	
	@ApiModelProperty("标题")
    private String postTitle;
	
	@ApiModelProperty(value = "摘要")
    private String postExcerpt;
	
	@ApiModelProperty(value = "阅读次数")
	private Integer postHits;
	
	@ApiModelProperty(value = "是否已点赞,0:未点赞，1:点赞")
	private Integer hasPraised;
	
	@ApiModelProperty(value = "是否已读,0:未读，1:已读")
	private String hasRead;
	
	@ApiModelProperty(value = "分享链接")
	private String shareUrl;
	
	@ApiModelProperty(value = "详情链接")
	private String detailUrl;
	
	@ApiModelProperty(value = "标签")
	private List<String> labels;

	@ApiModelProperty(value = "文章列表布局信息,'listLayout': {'layout_type': '2', 'layout_imgs': '376d19f4-add1-418c-83d1-7a388a162f59' , 'template':'article_pics'},0 只有一个标题,1 上标题 下三个图,2 上标题 下一个图,3 左标题 右一个图,4 右标题 左一个图")
	private String listLayout;

	public String getListLayout() {
		return listLayout;
	}

	public void setListLayout(String listLayout) {
		this.listLayout = listLayout;
	}

	public String getHasRead() {
		return hasRead;
	}

	public void setHasRead(String hasRead) {
		this.hasRead = hasRead;
	}

	public List<String> getLabels() {
		return labels;
	}

	public void setLabels(List<String> labels) {
		this.labels = labels;
	}

	public String getShareUrl() {
		return shareUrl;
	}

	public void setShareUrl(String shareUrl) {
		this.shareUrl = shareUrl;
	}

	public String getDetailUrl() {
		return detailUrl;
	}

	public void setDetailUrl(String detailUrl) {
		this.detailUrl = detailUrl;
	}

	public String getTpl() {
		return tpl;
	}

	public void setTpl(String tpl) {
		this.tpl = tpl;
	}

	public String getNewsUrl() {
		return newsUrl;
	}

	public void setNewsUrl(String newsUrl) {
		this.newsUrl = newsUrl;
	}

	public Integer getHasPraised() {
		return hasPraised;
	}

	public void setHasPraised(Integer hasPraised) {
		this.hasPraised = hasPraised;
	}

	public Integer getPostLike() {
		return postLike;
	}

	public void setPostLike(Integer postLike) {
		this.postLike = postLike;
	}

	public Integer getPostHits() {
		return postHits;
	}

	public void setPostHits(Integer postHits) {
		this.postHits = postHits;
	}

	@ApiModelProperty(value = "新闻作者、来源id")
    private Long authorId;
	
	@ApiModelProperty(value = "作者信息对象")
    private CmfAuthors authors;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

//	public String getNewsUrl() {
//		return newsUrl;
//	}
//
//	public void setNewsUrl(String newsUrl) {
//		this.newsUrl = newsUrl;
//	}

	public Integer getShowDate() {
		return showDate;
	}

	public void setShowDate(Integer showDate) {
		this.showDate = showDate;
	}

	public String getHtmltag() {
		return htmltag;
	}

	public void setHtmltag(String htmltag) {
		this.htmltag = htmltag;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public String getBodytag() {
		return bodytag;
	}

	public void setBodytag(String bodytag) {
		this.bodytag = bodytag;
	}

	public String getPostContent() {
		return postContent;
	}

	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}

	public String getPostTitle() {
		return postTitle;
	}

	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}

	public String getPostExcerpt() {
		return postExcerpt;
	}

	public void setPostExcerpt(String postExcerpt) {
		this.postExcerpt = postExcerpt;
	}

	public Long getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Long authorId) {
		this.authorId = authorId;
	}

	public CmfAuthors getAuthors() {
		return authors;
	}

	public void setAuthors(CmfAuthors authors) {
		this.authors = authors;
	}

}
